package com.example.patternfactory0307.factoryPattern.abstractFactory;

/**
 * Created by huanglijun on 2019/3/7
 * 格力工厂  生产格力空调  生产格力热水器
 */
public class GREEFactory implements Factory {

    @Override
    public AirConditioner createAirConditioner() {
        return new GREEAirConditioner();
    }

    @Override
    public WaterHeater createWaterHeater() {
        return new GREEWaterHeater();
    }
}
